Vercel
API ReferenceChats

Deploy Chat

Triggers a Vercel deployment for a chat. Creates a Vercel project if one does not exist.

POST/v2/chats/{chatId}/deploy

Usage

TypeScript Example
import { v0 } from 'v0-sdk'const result = await v0.chats.deploy({  chatId: 'chat_abc123',})console.log(result)

API Signature

Request

Path Parameters

chatId: string

The unique identifier of the chat.

Response

deploymentId: string

Unique identifier of the Vercel deployment.

vercelProjectId: string

The Vercel project that the deployment belongs to.

On this page